package com.cn.mapper.dao.db5.PartsManagement;

import com.cn.bean.pojo.yw.BusinessMatterBasicInfoTable;
import com.cn.bean.pojo.yw.BusinessMatterClassificationTable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BusinessMatterBasicInfoDao {
    List<BusinessMatterBasicInfoTable> selectBusinessMatterBasicInfoAside();
    List<BusinessMatterBasicInfoTable>selectBusinessMatterBasicInfo(BusinessMatterBasicInfoTable basicInfoTable);
    Integer getBusinessMatterBasicInfoAutoid();
    int addBusinessMatterBasicInfoInfo(@Param("ID") int ID, @Param("code") String code, @Param("name") String name, @Param("description") String description, @Param("status") int status,  @Param("classificationId") int classificationId);
    int delBusinessMatterBasicInfo(@Param("id") int id);
    int delBusinessMatterBasicInfoStatus(@Param("id") int id);
    int updateBusinessMatterBasicInfo(@Param("id") int id, @Param("code") String code, @Param("name") String name, @Param("description") String description, @Param("status") int status, @Param("classificationId") int classificationId);
}
